package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Festival;
import org.hxyjs.entity.Festival;
import org.hxyjs.page.PageInfo;

public interface FestivalService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<Festival> getAllFestivals() throws Exception;
    /**
     *  查询学生带选课
     * @param fno
     * @return
     */

    public DTO<Festival> deleteFestivalByFno(String fno) throws Exception;
    /**
     *  删除学生
     * @param festival
     * @return
     */
    public DTO<Festival> updateFestivalByFno(Festival festival)  throws Exception;
    /**
     *  增加学生
     * @param festival
     * @return
     */
    public DTO<Festival> addFestivalByFno(Festival festival)  throws Exception;


    public DTO<Festival> getFestivalByFno(String fno)  throws Exception;
    public DTO<Festival> getFestivalByPage(PageInfo pageInfo) throws Exception;

}
